import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import "element-plus/dist/index.css";
import "./assets/common.less";
import { createPinia } from "pinia";
import regDirectives from "./directives";

const app = createApp(App);
// 注册路由
app.use(router);
// 注册pinia
app.use(createPinia());
// 注册自定义指令
regDirectives(app);

app.mount("#app");
